import request from '@/utils/request'
//前摄像头flv
export function flvQVideo(data) {
    return request({
      url: '/robot/dhvideoFlv/getBeforeVideoFlv',
      method: 'post',
      params: data
    })
}

//后摄像头flv
export function flvHVideo(data) {
    return request({
      url: '/robot/dhvideoFlv/getAfterVideoFlv',
      method: 'post',
      params: data
    })
}

//停止前摄像头flv流
export function flvQStop(){
    return request({
      url:'/robot/dhvideoFlv/stopBeforeVideoFlv',
      method:'post'
    })
}

//停止后摄像头flv流
export function flvHStop(){
    return request({
      url:'/robot/dhvideoFlv/stopAfterVideoFlv',
      method:'post'
    })
  }